package model;

import java.util.List;

public class THospital {
    private Integer hid;

    private String hName;

    private String address;

    private String grade;
    
    private List<TDept> keshi;

    public List<TDept> getKeshi() {
		return keshi;
	}

	public void setKeshi(List<TDept> keshi) {
		this.keshi = keshi;
	}

	public Integer getHid() {
        return hid;
    }

    public void setHid(Integer hid) {
        this.hid = hid;
    }

    public String gethName() {
        return hName;
    }

    public void sethName(String hName) {
        this.hName = hName == null ? null : hName.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade == null ? null : grade.trim();
    }
}